Skip to content

Conversation

davidhewitt
Copy link
Member

Fixes the CI lint warning with 1.87. Also elides a bunch of needless named lifetimes at the same time.

Copy link
Contributor

@Icxolu Icxolu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm definitely in favor of eliding the lifetimes. But just to mention it: This was explicitly allowed for now

"clippy::needless-lifetimes",

Not sure what the history of that is.

(Generally we should move the lint config into Cargo.toml or lib.rs so that it get's picked up by rust-analyzer automatically)

@davidhewitt davidhewitt changed the title fix a pile of lint warnings fix lint warning with Rust 1.87 May 18, 2025
@davidhewitt
Copy link
Member Author

Ah thanks, I'd missed that. I've reset the branch to move the config into Cargo.toml and fixed the singular new warning in 1.87.

@Icxolu Icxolu merged commit 8bfbb27 into PyO3:main May 18, 2025
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants